const Doctor = require("../service/order")

var orderList = async (ctx) => {
  var res = await Doctor.orderAll(ctx.query)
  if (res) {
    return ctx.body = {
      code: 200,
      msg: '获取成功',
      data: res
    }
  }
}

module.exports = {
  orderList
}
